package com.hsq.ndmall.promotion.feign;

import com.hsq.ndmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author 黄四清
 * @version 1.0.0
 * @ClassName ProductFeign.java
 * @Description TODO
 * @createTime 2021年08月13日 00:02:00
 */
@FeignClient(value = "product-service")
public interface ProductFeign {
    @GetMapping("/product/goods/info/{id}")
    R info(@PathVariable("id") Integer id);
}
